package action;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

import org.apache.jasper.tagplugins.jstl.core.If;

import model.dao.DaoPronostico;
import model.dao.impl.DaoPronosticoImp;
import dto.config;




import com.opensymphony.xwork2.ActionSupport;

public class SelectAction  extends ActionSupport{
	
	List<config> configlist;
	/**
	 * 
	 */
	private static final long serialVersionUID = -7511525234469421619L;

	public String selectget() {
		String s =ERROR;
		 DaoPronostico objcosa = new DaoPronosticoImp();
		 configlist= objcosa.config();
		 if(configlist.size()>0){
			 s=SUCCESS;
		 }
		return s;
	}
	
}
